package com.find.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.find.domain.Item;
import com.find.domain.User;

import java.util.List;

public interface ItemService extends IService<Item> {

    //添加item
    boolean saveItem(Item item);

    //根据id删除item
    boolean delById(Integer id);

    //更新item
    boolean updateItem(Item item);

    //分页查询
    IPage<Item> getPage(int currentPage, int PageSize);

    IPage<Item> getPage(int currentPage, int PageSize, Item item);

    List<Item> notClaimed();


}
